<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<title>退货管理 - 物流管理系统</title>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<style media="all" type="text/css">@import "../../style/all.css";</style>
    <script type="text/javascript" src="../../script/jquery-1.3.2.min.js"></script>
	<script type="text/javascript" src="../../script/jquery-ui-personalized-1.6rc6.min.js"></script>
	<script type="text/javascript" src="../../script/date.js"></script>
	<script type="text/javascript" src="../../script/common.js"></script>    
    <script type="text/javascript">
   $(function(){
	   $("#btn1").click(function(){
		   window.open('../proapi/updateprobyid2?tex1='+$("#tex1").attr("value")+'&tex2='+$("#tex2").attr("value")+'&tex3='+$("#tex3").attr("value"));
		   window.location.href="../proapi/getprobypage2";
	   });	
   })
</script>

</head>
<body style="background: none">
	<div class="top-bar">
		<h1>退货确认</h1>
		<div class="breadcrumbs">
			<div class="button-bar">
				<input type="button" name="Submit" value="帮助" class="button"/>
				<input type="button" name="Submit" id="btn1"  value="退货" class="button"/>
			</div>
			<a href="../../index.html" target="_top">首页</a> /
			<a href="../index.html" target="_top">配送中心</a> /
            <a href="select_stock.html" target="_top">退货管理</a>
		</div>
	</div>
	<div class="select-bar">
		   	<table class="select-table">
				<tr>
					<th>商品代号</th>
					<td>${product.productid}<div style="display: none;"><input type="text" name="textfield" class="text" size="2" id="tex3"  value="${product.productid}"/></div></td>
					<th>商品名称</th>
					<td>${product.productname}</td>
				</tr>
				<tr>
					<th  >供应商</th>
					<td colspan="2">${product.provider}</td>
				</tr>
			</table>
            <br/>
			<table class="select-table">
				<tr>
					<th>现库存量</th>
					<td>${product.kucount}</td>
				</tr>
			</table>
			 <br/>
			<table class="select-table">
				<tr>
					<th>退货量</th>
					<td>${num}<div style="display: none;"><input type="text" name="textfield" class="text" size="2" id="tex1"  value="${num}"/></div></td>
					<th>退货日期</th>
					<td>${date}<div style="display: none;"><input type="text" name="textfield" class="text" size="2" id="tex2"  value="${date}"/></div></td>
				</tr>
			</table>
	 </div>
  </div>
</body>
</html>
